package com.simpleaccount.Search;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.simpleaccount.R;

/**
 * Created by Administrator on 2017/7/14.
 */

public class MyViewHolder {
    private View itemView;
    private TextView tvLvType;
    private TextView tvLvCategory;
    private TextView tvLvMoney;
    private ImageView ivHiddenModify;
    private ImageView ivHiddenDelete;
    private ImageView ivLvDropdown;
    private LinearLayout llHiddenMenu;
    private ImageView ivCategory;
    private LinearLayout llEntry;
    public MyViewHolder(View itemView){
        this.itemView=itemView;
        tvLvCategory=(TextView)itemView.findViewById(R.id.tv_lv_category);
        tvLvMoney=(TextView)itemView.findViewById(R.id.tv_lv_money);
        tvLvType=(TextView)itemView.findViewById(R.id.tv_lv_type);
        ivHiddenDelete =(ImageView) itemView.findViewById(R.id.iv_hidden_delete);
        ivHiddenModify =(ImageView) itemView.findViewById(R.id.iv_hidden_modify);
        ivLvDropdown=(ImageView)itemView.findViewById(R.id.iv_lv_dropdown);
        llHiddenMenu=(LinearLayout)itemView.findViewById(R.id.ll_hidden_menu);
        ivCategory=(ImageView)itemView.findViewById(R.id.iv_category);
        llEntry=(LinearLayout)itemView.findViewById(R.id.ll_Entry);
    }

    public ImageView getIvCategory() {
        return ivCategory;
    }

    public TextView getTvLvType(){return tvLvType;}

    public TextView getTvLvCategory() {
        return tvLvCategory;
    }

    public TextView getTvLvMoney() {
        return tvLvMoney;
    }

    public View getItemView() {
        return itemView;
    }

    public ImageView getIvHiddenModify() {
        return ivHiddenModify;
    }

    public ImageView getIvHiddenDelete() {return ivHiddenDelete;}

    public ImageView getIvLvDropdown() {
        return ivLvDropdown;
    }

    public LinearLayout getLlHiddenMenu() {
        return llHiddenMenu;
    }

    public LinearLayout getLlEntry(){return llEntry;}
}
